package com.banksoft.cps.dao;

import com.banksoft.cps.bean.MonitorProduct;
import com.banksoft.cps.bean.query.MonitorProductQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2017/12/29.
 */
@Repository
public interface MonitorProductDao {

    List<MonitorProduct> list(MonitorProductQuery query);

    long count(MonitorProductQuery query);

    void insert(MonitorProduct bean);

    void update(MonitorProduct bean);

    List<MonitorProduct> listByIdList(List<String> idList);

    MonitorProduct  findById(String id);

    void delete(String[] ids);
}
